package com.yhgarden.bbs.service.api.system;

import com.yhgarden.bbs.entity.system.Entity;
import com.yhgarden.bbs.model.response.BaseResponse;

public interface EntityService {

    BaseResponse createOrUpdate(Entity entity);

    BaseResponse getById(String id);

    BaseResponse getByIdMoreDetail(String id);

    BaseResponse query(Entity entity);

    BaseResponse queryMoreDetail(Entity entity);

    BaseResponse queryForList(Entity entity);

    BaseResponse delete(String id);

}
